home *** CD-ROM | disk | FTP | other *** search
- /*
- File: ODNew.h
-
- Contains: Inline versions of operator new and operator delete for OpenDoc
-
- Owned by: Nick Pilch
-
- Copyright: © 1993 - 1995 by Apple Computer, Inc., all rights reserved.
-
-
- */
-
- #ifndef _ODNEW_
- #define _ODNEW_
-
- #include <StdDef.h>
-
- #ifndef _ODMEMORY_
- #include "ODMemory.h"
- #endif
-
- //==============================================================================
- // Global function declarations
- //==============================================================================
-
- void* operator new(size_t size, ODMemoryHeapID); // from a specific heap
- void* operator new(size_t); // from the client heap
- void operator delete(void*); // return memory to pool
-
- #endif